<?php

/**
 * This file is part of the Pagizer package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @copyright   Copyright (c) 2010 Advisa (http://www.advisa.fr)
 * @author      Pagizer Core Team <team@pagizer.org>
 * @package     pagizer
 * @subpackage  iphone
 */

class m_iphone_actions_IphoneListModuleAction extends f_core_Action
{
	public function execute()
	{
        $listModules = m_iphone_services_IphoneService::getInstance()->getIphoneModuleList();
        echo $listModules;
	}	
	
	public function validate()
	{
		return true;
	}
	
	public function errorHandler()
	{
		$this->setView('error');
	}
}